import Category from '@/components/entrance/Category';
import EditNotProjectForm from '@/components/entrance/EditNotProjectForm';
import EditProjectForm from '@/components/entrance/EditProjectForm';
import Form from '@/components/entrance/Form';
import Manufacturers from '@/components/entrance/Manufacturers';
import MissionStatement from '@/components/entrance/MissionStatement';
import qrcode from '@/components/entrance/qrcode';
import TaskAllocation from '@/components/entrance/TaskAllocation';
import TaskManager from '@/components/entrance/TaskManager';
import PermissionRole from '@/components/entrance/PermissionRole';
import Home from '@/components/Home';
import Vue from 'vue';
import Router from 'vue-router';


Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'Home',
      component: Home,

      children: [{
          path: '/',
          name: 'TaskManager',
          component: TaskManager
        },
        {
          path: '/TaskManager',
          name: 'TaskManager',
          component: TaskManager
        },
        {
          path: '/Manufacturers',
          name: 'Manufacturers',
          component: Manufacturers
        },
        {
          path: '/MissionStatement',
          name: 'MissionStatement',
          component: MissionStatement
        },
        {
          path: '/Form',
          name: 'Form',
          component: Form
        },
        {
          path: '/TaskAllocation',
          name: 'TaskAllocation',
          component: TaskAllocation
        },
        {
          path: '/Category',
          name: 'Category',
          component: Category
        },
        {
          path: '/EditProjectForm',
          name: 'EditProjectForm',
          component: EditProjectForm
        },
        {
          path: '/EditNotProjectForm',
          name: 'EditNotProjectForm',
          component: EditNotProjectForm
        },
        {
          path: '/PermissionRole',
          name: 'PermissionRole',
          component: PermissionRole
        },
      ]
    },
    {
      path: '/qrcode',
      name: 'qrcode',
      component: qrcode
    }

  ]
})
